package cn.itcast.vo;

import cn.afterturn.easypoi.excel.annotation.Excel;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;
@Data
public class ContractProductVo implements Serializable {

	@Excel(name = "客户名称", width = 30)
	private String customName;		//客户名称
	@Excel(name = "合同号", width = 30)
	private String contractNo;		//合同号，订单号
	@Excel(name = "货号", width = 20)
	private String productNo;		//货号
	@Excel(name = "数量", width = 10)
	private Integer cnumber;		//数量
	@Excel(name = "厂家名称", width = 20)
	private String factoryName;		//厂家名称
	@Excel(name = "交货期限",format = "yyyy-MM-dd", width = 25)
	private Date deliveryPeriod;	//交货期限
	@Excel(name = "船期", format = "yyyy-MM-dd",width = 25)
	private Date shipTime;			//船期
	@Excel(name = "贸易条款", width = 10)
	private String tradeTerms;		//贸易条款

	@Override
	public String toString() {
		return "ContractProductVo{" +
				"customName='" + customName + '\'' +
				", contractNo='" + contractNo + '\'' +
				", productNo='" + productNo + '\'' +
				", cnumber=" + cnumber +
				", factoryName='" + factoryName + '\'' +
				", deliveryPeriod=" + deliveryPeriod +
				", shipTime=" + shipTime +
				", tradeTerms='" + tradeTerms + '\'' +
				'}';
	}
}
